﻿namespace TeF.Runner
{
    /// <summary>Base test entity</summary>
    public interface ITestEntity
    {
        /// <summary>A name which identifies an entity</summary>
        string Name { get; }

        /// <summary>State of a test entity</summary>
        TestState State { get; }

        /// <summary>State changed event</summary>
        event StateChangedEventHandler StateChanged;

        /// <summary>Execution log</summary>
        string Log { get; }

        /// <summary>Log changed event</summary>
        event LogChangedEventHandler LogChanged;
    }
}
